<?php
namespace Admin\Controller;
use Think\Controller;
//工具类
use Admin\Common\Tools as T;
//逻辑类
use Admin\Common\Logic;

use Admin\Common\Api\UserApi;
class PublicController extends Controller {
private $HAND_LOGINC   = null;

public   function login(){
    $this->display();
   }

//获取菜单
 public  function menu(){
 	//$id = isset(I('post.id')) ? I('post.id') : 0;
 	$this->HAND_LOGINC = new Logic();
    $menu = $this->HAND_LOGINC->menu();	
    $json_menu = json_encode($menu);
    $menu_data = str_replace('iconcls','iconCls', $json_menu);
    echo $menu_data;
  }

/*//获取菜单
 public  function nav(){
    $nav = $this->HAND_LOGINC->nav();	
    $this->display();

  }*/



}
